﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace com.lover.common.hook
{
    public struct KeyStateInfo
    {
        Keys m_Key;
        bool m_IsPressed;
        bool m_IsToggled;
        public KeyStateInfo(Keys key, bool ispressed, bool istoggled)
        {
            m_Key = key;
            m_IsPressed = ispressed;
            m_IsToggled = istoggled;
        }
        public static KeyStateInfo Default
        {
            get { return new KeyStateInfo(Keys.None, false, false); }
        }
        public Keys Key { get { return m_Key; } }
        public bool IsPressed { get { return m_IsPressed; } }
        public bool IsToggled { get { return m_IsToggled; } }
    }
}
